<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<div class="project_contents">
	<h1>Document</h1>
	<div class="project_in">
	<table id="document_table">
		<tr>
			<td id="doc_no">${doc.docNo}</td>
			<td id="doc_writer">${doc.docWriter }</td>
			<th id="doc_title">${doc.docTitle }</th>
			<td><fmt:formatDate value="${doc.docWriteDate }" pattern="YYYY/MM/dd hh:mm:ss"/></td>
		</tr>
		<tr>
			<td colspan="4"><div id="doc_article">${doc.docContents }</div></td>
		</tr>
	</table>
	<input type="button" class="btn" value="삭제" onclick="document_delete(${doc.docNo});"/>
	</div>
</div>